
<div id="footer">
    <if condition="$language == 1">
    <ul>
        <li><a href="{:U('front/index')}">首页</a></li>
        <li><a <if condition="$language == 1">href="{:U('front/article_detail',array('id'=>1))}"<else/>href="{:U('front/article_detail',array('id'=>5))}"</if>>关于我们</a></li>
        <li><a <if condition="$language == 1">href="{:U('front/news_list',array('tid'=>7))}"<else/>href="{:U('front/news_list',array('tid'=>18))}"</if>>新闻中心</a></li>
        <li><a <if condition="$language == 1">href="{:U('front/article_detail',array('tid'=>10))}"<else/>href="{:U('front/article_detail',array('tid'=>21))}"</if>>解决方案</a></li>
        <li><a <if condition="$language == 1">href="{:U('front/article_detail',array('tid'=>11))}"<else/>href="{:U('front/article_detail',array('tid'=>22))}"</if>>投资运营</a></li>
        <li><a href="{:U('front/article_detail',array('id'=>9))}">洽谈合作</a></li>
        <li><a  href="{:U('front/consult')}">在线咨询</a></li>
        <li class="nae">
            <p><a href="tel:{$contact.mobile}">联系电话</a></p>
            <p><a href="tel:{$contact.mobile}">{$contact.mobile}</a></p>
            <img src="{:sp_get_image_preview_url($contact['qrcode'])}" alt="">
        </li>
    </ul>
    <ul class="zyI">
        <li><a href="{:U('front/change_language',array('language'=>1))}">中文</a></li>
        <li><a href="{:U('front/change_language',array('language'=>2))}">English</a></li>
    </ul>
  <else/>
    <ul>
        <li><a href="{:U('front/index')}">Home</a></li>
        <li><a <if condition="$language == 1">href="{:U('front/article_detail',array('id'=>1))}"<else/>href="{:U('front/article_detail',array('id'=>5))}"</if>>About us</a></li>
        <li><a <if condition="$language == 1">href="{:U('front/news_list',array('tid'=>7))}"<else/>href="{:U('front/news_list',array('tid'=>18))}"</if>>News Center</a></li>
        <li><a <if condition="$language == 1">href="{:U('front/article_detail',array('tid'=>10))}"<else/>href="{:U('front/article_detail',array('tid'=>21))}"</if>>Solutions</a></li>
        <li><a <if condition="$language == 1">href="{:U('front/article_detail',array('tid'=>11))}"<else/>href="{:U('front/article_detail',array('tid'=>22))}"</if>>Investment & Operation</a></li>
        <li><a href="{:U('front/article_detail',array('id'=>12))}">Cooperation</a></li>
        <li><a  href="{:U('front/consult')}">Online consulting</a></li>
        <li class="nae">
            <p><a href="tel:{$contact.mobile}">Contact number</a></p>
            <p><a href="tel:{$contact.mobile}">{$contact.mobile}</a></p>
            <img src="{:sp_get_image_preview_url($contact['qrcode'])}" alt="">
        </li>
    </ul>
    <ul class="zyI">
        <li><a href="{:U('front/change_language',array('language'=>1))}">中文</a></li>
        <li><a href="{:U('front/change_language',array('language'=>2))}">English</a></li>
    </ul>
  </if>
</div>


<script src="__TMPL__Public/assets/js/rem.js"></script>
<script src="__TMPL__Public/assets/js/swiper.js"></script>
<script type="text/javascript">
    var navimg = document.querySelectorAll('nav img')
    var footer = document.querySelector('#footer')
    navimg[1].onclick = function (e) {
        e.stopPropagation()
        if (footer.style.display == 'block') {
            footer.style.display = 'none'
        } else {
            footer.style.display = 'block'
        }
    }

    var zyILI = document.querySelectorAll('.zyI li')
    var mainP = document.querySelectorAll('.main p')
    zyILI[1].onclick = function () {

    }

    //轮播
    var swiper = new Swiper('.swiper-container', {
        pagination: '.swiper-pagination',
        paginationClickable: true,
        speed: 2000,
        loop: true,
        observer: true,
        observeParents: true,
        autoplayDisableOnInteraction: false,
        autoplay: 1500
    });
    document.body.onclick = function(){
        if(footer.style.display == 'block'){
            footer.style.display = 'none'
        }
    }


    var _hmt = _hmt || [];
    (function() {
        var hm = document.createElement("script");
        hm.src = "https://hm.baidu.com/hm.js?7963f67411334640821fccadbab14bcb";
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(hm, s);
    })();

</script>